import request from '@/utils/request'

// 对比保存
export function compareStrategy(data) {
  return request({
    url: '/invest/strategy/compareStrategy',
    method: 'post',
    data
  })
}

// 风险指标
export function getClassRiskRateByClassifyIdNew(data) {
  return request({
    url: '/invest/networth/getClassRiskRateByClassifyIdNew',
    method: 'post',
    data
  })
}

// 收益曲线 同区间
export function findCompositionStrategyIntersection(data) {
  return request({
    url: '/invest/networth/findCompositionStrategyIntersection',
    method: 'post',
    data
  })
}



//  全局对比
export function compareStrategyNew(data) {
  return request({
    url: '/invest/strategy/compareStrategyNew',
    method: 'post',
    data
  })
}

//  对比收益曲线表
export function findCompareNetworthByClassifyIdPlus(data) {
  return request({
    url: '/invest/networth/findCompareNetworthByClassifyIdPlus',
    method: 'post',
    data
  })
} 

// 收益风险指标  
export function getCompareStrategyInfo(data) {
  return request({
    url: '/invest/strategy/getCompareStrategyInfo',
    method: 'post',
    data
  })
} 

// 区间收益列表
export function findCompareNetWorthExtendBySegment(data) {
  return request({
    url: '/invest/networth/findCompareNetWorthExtendBySegment',
    method: 'post',
    data
  })
} 

// 区间收益图表
export function findSegmentCompareNetWorthDistribute(data) {
  return request({
    url: '/invest/networth/findSegmentCompareNetWorthDistribute',
    method: 'post',
    data
  })
} 

// 月度收益列表
export function getCompareMonthly(data) {
  return request({
    url: '/invest/networth/getCompareMonthly',
    method: 'post',
    data
  })
} 

// 月度收益图表
export function getCompareMonthlyDsitribute(data) {
  return request({
    url: '/invest/networth/getCompareMonthlyDsitribute',
    method: 'post',
    data
  })
} 

// 年度收益列表
export function getCompareYear(data) {
  return request({
    url: '/invest/networth/getCompareYear',
    method: 'post',
    data
  })
} 

// 年度收益图表
export function getCompareYearDistribute(data) {
  return request({
    url: '/invest/networth/getCompareYearDistribute',
    method: 'post',
    data
  })
} 

// 季度收益列表
export function getCompareQuarter(data) {
  return request({
    url: '/invest/networth/getCompareQuarter',
    method: 'post',
    data
  })
} 

// 季度收益图表
export function getCompareQuarterDistribute(data) {
  return request({
    url: '/invest/networth/getCompareQuarterDistribute',
    method: 'post',
    data
  })
}

// 月度表现弹窗
export function compareMonthlyIncreaseDialog(data) {
  return request({
    url: '/invest/networth/compareMonthlyIncreaseDialog',
    method: 'post',
    data
  })
}

// 对比相关性(策略 ,组合 , 分类)
export function getProductRelevanceNew(data) {
  return request({
    url: '/invest/networth/getProductRelevanceNew',
    method: 'post',
    data
  })
}

// 同区间
export function findCompareIntersection(data) {
  return request({
    url: '/invest/networth/findCompareIntersection',
    method: 'post',
    data
  })
}





